home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / range.z / range
Encoding:
Text File  |  1998-10-30  |  2.7 KB  |  75 lines

  1. RANGE(3I)                                              Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      RRAANNGGEE - Returns the decimal exponent range of a number according to
  6.      the real or integer model
  7.  
  8. SSYYNNOOPPSSIISS
  9.      RRAANNGGEE (([XX==]_x))
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, and IRIX systems
  13.  
  14. SSTTAANNDDAARRDDSS
  15.      Fortran 90
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      The RRAANNGGEE intrinsic function returns the decimal exponent range in the
  19.      model representing integer or real numbers with the same kind type
  20.      parameter as the argument.  For information on integer number model or
  21.      the real number model, see the MMOODDEELLSS(3I) man page.  It accepts the
  22.      following argument:
  23.  
  24.      _x    Must be of type integer, real, or complex.  It may be scalar or
  25.           array valued.
  26.  
  27.      RRAANNGGEE is an inquiry function.  The name of this intrinsic cannot be
  28.      passed as an argument.
  29.  
  30. RREETTUURRNN VVAALLUUEESS
  31.      The result is a default integer scalar.
  32.  
  33.      For an integer argument, the result has the value IINNTT((LLOOGG1100 (_h_u_g_e)),
  34.      where _h_u_g_e is the largest positive integer in the model representing
  35.      integer numbers with same kind type parameter as _x.
  36.  
  37.      For a real or complex argument, the result has the value
  38.      IINNTT((MMIINN((LLOOGG1100((_h_u_g_e)),,--LLOOGG1100((_t_i_n_y)))))), where _h_u_g_e and _t_i_n_y are the
  39.      largest and smallest positive numbers in the model representing real
  40.      numbers with the same value for the kind type parameter as _x.
  41.  
  42. EEXXAAMMPPLLEESS
  43.      On UNICOS systems, excluding CRAY T90 systems that support IEEE
  44.      floating-point arithmetic, RRAANNGGEE((XX)) has the value 2465 for real XX.
  45.  
  46.      On IRIX systems, RRAANNGGEE((XX)) has the following values:
  47.  
  48.      * 37 for real ((KKIINNDD==44)) XX
  49.  
  50.      * 307 for real ((KKIINNDD==88)) XX
  51.  
  52.      * 291 for real ((KKIINNDD==1166)) XX
  53.  
  54.      On UNICOS/mk systems, RRAANNGGEE((XX)) has the following values:
  55.  
  56.      * 37 for real ((KKIINNDD==44)) XX
  57.  
  58.      * 307 for real ((KKIINNDD==88)) XX
  59.  
  60.      On CRAY T90 systems that support IEEE floating-point arithmetic,
  61.      RRAANNGGEE((XX)) has the following values:
  62.  
  63.      * 37 for real ((KKIINNDD==44)) XX
  64.  
  65.      * 307 for real ((KKIINNDD==88)) XX
  66.  
  67.      * 4931 for real ((KKIINNDD==1166)) XX
  68.  
  69. SSEEEE AALLSSOO
  70.      MMOODDEELLSS(3I)
  71.  
  72.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  73.      printed version of this man page.
  74.  
  75.